ContestEffect

@Serializable
data class ContestEffect(val id: Int, val appeal: Int, val jam: Int, val effectEntries: List<Effect>, val flavorTextEntries: List<FlavorText>) : Model(source)

Contest effects refer to the effects of moves when used in contests. See: https://pokeapi.co/docs/v2#contest-effects

Parameters

id

The identifier for this resource.

appeal

The base number of hearts the user of this move gets.

jam

The base number of hearts the user's opponent loses.

effectEntries

The result of this contest effect listed in different languages.

flavorTextEntries

The flavor text of this contest effect listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, appeal: Int, jam: Int, effectEntries: List<Effect>, flavorTextEntries: List<FlavorText>)

Properties

Link copied to clipboard
val appeal: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
val jam: Int